package com.micro.base.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: micro-service
 * @description: 基础服务消费接口
 * @author: Lefnmg
 * @create: 2018-12-09 17:27
 **/
@RestController
public class BaseController {
    @RequestMapping("/feign")
    public String getFeign() {
        return "hello feign";
    }
    @RequestMapping("/ribbon")
    public String getRibbon(String name) {
        System.out.println(name);
        return "hello"+name;
    }
}
